Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / TimeSpanDisplayFieldCollectionInfo Class / Exists Method / Exists<TTarget>() Method


In This Topic
    Exists<TTarget>() Method
    In This Topic
    Determines whether the List contains elements that match the conditions defined by the specified predicate.
    Syntax
    'Declaration
     
    
    Public Overloads Function Exists(Of TTarget As T)() As Boolean
    'Usage
     
    
    Dim instance As TimeSpanDisplayFieldCollectionInfo
    Dim value As Boolean
     
    value = instance.Exists(Of TTarget)()
    public bool Exists<TTarget>()
    where TTarget: T

    Type Parameters

    TTarget

    Return Value

    true if the List contains one or more elements that match the conditions defined by the specified predicate; otherwise, false.
    See Also